<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/ECRMS.Common" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/ECRMS.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:29485/Services/Service.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" />
  <xs:import schemaLocation="http://localhost:29485/Services/Service.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="Result">
    <xs:sequence>
      <xs:element minOccurs="0" name="message" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="status" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Result" nillable="true" type="tns:Result" />
  <xs:complexType name="CtServiceResultOfCtUserOUJwPUXg">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="CtServiceResultOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Common" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="CtUser" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexContent mixed="false">
      <xs:extension base="tns:CtServiceResult">
        <xs:sequence>
          <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" minOccurs="0" name="Data" nillable="true" type="q1:CtUser" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CtServiceResultOfCtUserOUJwPUXg" nillable="true" type="tns:CtServiceResultOfCtUserOUJwPUXg" />
  <xs:complexType name="CtServiceResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Status" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CtServiceResult" nillable="true" type="tns:CtServiceResult" />
  <xs:complexType name="CtServiceResultOfArrayOfCtStructureOUJwPUXg">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="CtServiceResultOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Common" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="ArrayOfCtStructure" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexContent mixed="false">
      <xs:extension base="tns:CtServiceResult">
        <xs:sequence>
          <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" minOccurs="0" name="Data" nillable="true" type="q2:ArrayOfCtStructure" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CtServiceResultOfArrayOfCtStructureOUJwPUXg" nillable="true" type="tns:CtServiceResultOfArrayOfCtStructureOUJwPUXg" />
  <xs:complexType name="CtServiceResultOfArrayOfCtEmployeeOUJwPUXg">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="CtServiceResultOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Common" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="ArrayOfCtEmployee" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexContent mixed="false">
      <xs:extension base="tns:CtServiceResult">
        <xs:sequence>
          <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" minOccurs="0" name="Data" nillable="true" type="q3:ArrayOfCtEmployee" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CtServiceResultOfArrayOfCtEmployeeOUJwPUXg" nillable="true" type="tns:CtServiceResultOfArrayOfCtEmployeeOUJwPUXg" />
  <xs:complexType name="CtServiceResultOfArrayOfCtIndexGroupOUJwPUXg">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="CtServiceResultOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Common" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="ArrayOfCtIndexGroup" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexContent mixed="false">
      <xs:extension base="tns:CtServiceResult">
        <xs:sequence>
          <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" minOccurs="0" name="Data" nillable="true" type="q4:ArrayOfCtIndexGroup" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CtServiceResultOfArrayOfCtIndexGroupOUJwPUXg" nillable="true" type="tns:CtServiceResultOfArrayOfCtIndexGroupOUJwPUXg" />
  <xs:complexType name="CtServiceResultOfArrayOfCtIndexOUJwPUXg">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="CtServiceResultOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Common" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="ArrayOfCtIndex" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexContent mixed="false">
      <xs:extension base="tns:CtServiceResult">
        <xs:sequence>
          <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" minOccurs="0" name="Data" nillable="true" type="q5:ArrayOfCtIndex" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CtServiceResultOfArrayOfCtIndexOUJwPUXg" nillable="true" type="tns:CtServiceResultOfArrayOfCtIndexOUJwPUXg" />
  <xs:complexType name="CtServiceResultOfArrayOfCtIndexProcessOUJwPUXg">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="CtServiceResultOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Common" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="ArrayOfCtIndexProcess" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexContent mixed="false">
      <xs:extension base="tns:CtServiceResult">
        <xs:sequence>
          <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" minOccurs="0" name="Data" nillable="true" type="q6:ArrayOfCtIndexProcess" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CtServiceResultOfArrayOfCtIndexProcessOUJwPUXg" nillable="true" type="tns:CtServiceResultOfArrayOfCtIndexProcessOUJwPUXg" />
  <xs:complexType name="CtServiceResultOfArrayOfCtIndexResultOUJwPUXg">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="CtServiceResultOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Common" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="ArrayOfCtIndexResult" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexContent mixed="false">
      <xs:extension base="tns:CtServiceResult">
        <xs:sequence>
          <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" minOccurs="0" name="Data" nillable="true" type="q7:ArrayOfCtIndexResult" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CtServiceResultOfArrayOfCtIndexResultOUJwPUXg" nillable="true" type="tns:CtServiceResultOfArrayOfCtIndexResultOUJwPUXg" />
  <xs:simpleType name="IndexResultTypeEnum">
    <xs:restriction base="xs:string">
      <xs:enumeration value="AllIndex">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FirstLevel">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SecondLevel">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="IndexResultTypeEnum" nillable="true" type="tns:IndexResultTypeEnum" />
  <xs:complexType name="CtServiceResultOfdecimal">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="CtServiceResultOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Common" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="decimal" Namespace="http://www.w3.org/2001/XMLSchema" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexContent mixed="false">
      <xs:extension base="tns:CtServiceResult">
        <xs:sequence>
          <xs:element minOccurs="0" name="Data" type="xs:decimal" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CtServiceResultOfdecimal" nillable="true" type="tns:CtServiceResultOfdecimal" />
  <xs:complexType name="CtServiceResultOfArrayOfCtReportOUJwPUXg">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="CtServiceResultOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Common" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="ArrayOfCtReport" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexContent mixed="false">
      <xs:extension base="tns:CtServiceResult">
        <xs:sequence>
          <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" minOccurs="0" name="Data" nillable="true" type="q8:ArrayOfCtReport" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CtServiceResultOfArrayOfCtReportOUJwPUXg" nillable="true" type="tns:CtServiceResultOfArrayOfCtReportOUJwPUXg" />
  <xs:complexType name="CtServiceResultOfArrayOfCtPostOUJwPUXg">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="CtServiceResultOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Common" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="ArrayOfCtPost" Namespace="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexContent mixed="false">
      <xs:extension base="tns:CtServiceResult">
        <xs:sequence>
          <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" minOccurs="0" name="Data" nillable="true" type="q9:ArrayOfCtPost" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CtServiceResultOfArrayOfCtPostOUJwPUXg" nillable="true" type="tns:CtServiceResultOfArrayOfCtPostOUJwPUXg" />
</xs:schema>